[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-27 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 25.04.2024 um 10:24: hi! I'm new to ConTeXt. I want to define a command with sidenote function. This [setupsidenote] command inherits the options of [setupmargindata], [setupcounter] and [setupframed]. just like [setupenumeration] inherits the option of

[NTG-context] Re: \par and \startlines

2024-04-27 Thread Henning Hraban Ramm
Am 26.04.24 um 18:24 schrieb Wolfgang Schuster: BTW: ConTeXt has a module for poems which can be loaded with \usemodule[format]. Never heard of it. Version says “ancient” ;) https://source.contextgarden.net/tex/context/modules/mkiv/m-format.mkiv What’s the advantage of all this markup over

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
Denis Maier schrieb am 26.04.2024 um 19:52: I see. But there's no command that could be used to simulate an empty line? If not, me should I perhaps try to replicate the wrapper structure from the XML source in context? (I'll also look into the format module of course.) What do you think?

[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-26 Thread ai2472206007
Thanks for your reply. The kanji part requires a specific font and typescript file, which I defined on my own computer but forgot to add to this example. This is something I didn't take into account. It's true, I need to think about what exactly my command needs, not build an all-powerful

[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-26 Thread Bruce Horrocks
> On 25 Apr 2024, at 09:24, ai2472206...@yeah.net wrote: > > But what I don't know is how to get it to inherit the options of other > commands and perform these features correctly. Your example didn't work for me - none of the Chinese|Japanese[1] characters showed. AFAIK there is no way to

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Henning Hraban Ramm
Am 26.04.24 um 19:52 schrieb Denis Maier via ntg-context: I see. But there's no command that could be used to simulate an empty line? Did you try \vskip{…}? Hraban ___ If your question is of interest to others as

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 19:52, Denis Maier via ntg-context wrote: >> Wolfgang Schuster hat am 26.04.2024 19:29 CEST geschrieben: >> The inbetween setting works because ConTeXt checks at the start of >> each line whether it's empty (in this case the value is used) or not. >> >> When you add a \par you just end

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 19:50, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04: >> I tried this approach (I hope it isn’t wrong): >> >>\starttext >>\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{% > > The \expanded modifier is wrong (I guess you meant

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
  Wolfgang Schuster hat am 26.04.2024 19:29 CEST geschrieben:     Denis Maier schrieb am 26.04.2024 um 19:18:   Wolfgang Schuster hat am 26.04.2024 18:24 CEST geschrieben:  

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04: On 4/26/24 18:18, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29: What is wrong in my definition above? There is nothing wrong, this is just a side effect of the scanner used with the

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
Denis Maier schrieb am 26.04.2024 um 19:18: Wolfgang Schuster hat am 26.04.2024 18:24 CEST geschrieben: Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10: Pablo Rodriguez via ntg-context > hat am 26.04.2024 17:25 CEST geschrieben: On 4/26/24 15:33,

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
  Wolfgang Schuster hat am 26.04.2024 18:24 CEST geschrieben:     Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10:   Pablo Rodriguez via ntg-context hat am 26.04.2024 17:25

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 18:18, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29: >> What is wrong in my definition above? > > There is nothing wrong, this is just a side effect of the scanner used > with the \do...groupempty commands. To have more control about this >

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10: Pablo Rodriguez via ntg-context > hat am 26.04.2024 17:25 CEST geschrieben: On 4/26/24 15:33, denis.ma...@unibe.ch wrote: Hi, I’m trying to typeset a poem from XML, but I can’t

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29: Dear list, I have the following sample: \starttext \def\MyCommand{\doquadruplegroupempty\doMyCommand} \def\doMyCommand#1#2#3#4{% \iffourthargument #4% \orelse\ifthirdargument #3% \else

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
  Pablo Rodriguez via ntg-context hat am 26.04.2024 17:25 CEST geschrieben:     On 4/26/24 15:33, denis.ma...@unibe.ch wrote: Hi, I’m trying to typeset a poem from

[NTG-context] wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \def\MyCommand{\doquadruplegroupempty\doMyCommand} \def\doMyCommand#1#2#3#4{% \iffourthargument #4% \orelse\ifthirdargument #3% \else #2% \fi} \MyCommand{}{second}{third}{fourth},\\

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
On 4/26/24 15:33, denis.ma...@unibe.ch wrote: > Hi, > > I’m trying to typeset a poem from XML, but I can’t figure out how to > make the inbetween key working here. > > As the source is XML, I cannot just add an empty line to start a new > group of lines inside \startlines…\stoplines. I guess,

[NTG-context] \par and \startlines

2024-04-26 Thread denis.maier
Hi, I'm trying to typeset a poem from XML, but I can't figure out how to make the inbetween key working here. As the source is XML, I cannot just add an empty line to start a new group of lines inside \startlines...\stoplines. I guess, there must be a command to do that, but \par seems to have

[NTG-context] Re: The graph is not visible.

2024-04-26 Thread Fabrice Couvreur
Hi, Thanks for your help. I did several tests playing only with the code of component 5 which interferes with that of component 14. @Aditya begingroup; . endgroup; does not work. @Hans save defaultfont, defaultscale; maybe also: save circle, p, q, b ; I get an empty rectangle in place of

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/26/24 10:22 AM, Hans Hagen wrote: That's because mkii is AI enhanced. Can you try this: Ah, I see where I was wrong, thank you! I'm mapping from xml, so I became confused with the optional parameters that I write as attributes, with a number of ifs... But now it should be clear! All

[NTG-context] Re: The graph is not visible.

2024-04-26 Thread Aditya Mahajan
On Fri, 26 Apr 2024, Taco Hoekwater wrote: > > > > On 25 Apr 2024, at 23:12, Fabrice Couvreur > > wrote: > > > > Hi, > > Here is the code that interferes with the graph from the last chapter but > > why ? > > Because of this “path b”: > > > path circle, p, q, b; > >

[NTG-context] Re: start/stopregister

2024-04-26 Thread Hans Hagen
On 4/26/2024 9:54 AM, Thomas A. Schmitz wrote: On 4/26/24 9:30 AM, Thomas A. Schmitz wrote: And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote: And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext     A\index{A} B \page     A\startregister [index] {A}

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/25/24 6:27 PM, Thomas A. Schmitz wrote: Ah, simple typo! After fixing abel to label, startregister gives the expected results again! Thanks Hans! I may be back with more register questions soon... And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there

[NTG-context] Re: The graph is not visible.

2024-04-26 Thread Taco Hoekwater
> On 25 Apr 2024, at 23:12, Fabrice Couvreur > wrote: > > Hi, > Here is the code that interferes with the graph from the last chapter but why > ? Because of this “path b”: > path circle, p, q, b; which interferes with the assignment line from the other graphic code: >

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hi, Here is the code that interferes with the graph from the last chapter but why ? \startMPcode pickup pencircle xscaled 1; defaultfont := "texgyrepagella-regular*default" ; defaultscale := 0.8 ; path circle, p, q, b; circle =

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 18:16, Hans Hagen wrote: Let's seen if we can make Thomas more of an expert as he's zooming in on the issue:     extendregister {     metadata   = { name =  name },     references = { abel =  label },     } Let me know if you't see it.

[NTG-context] Re: start/stopregister

2024-04-25 Thread Hans Hagen
On 4/25/2024 4:51 PM, Taco Hoekwater wrote: On 25 Apr 2024, at 16:45, Thomas A. Schmitz wrote: On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can

[NTG-context] Re: Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-25 Thread Gerion Entrup
I solved it, although it's kinda hacky. I'm pretty sure that publications.citevariants.short is not meant to be called directly. Do you know why `context.getdetail(dataset, tag, "author")` does not work in render_cite? It always returns nil. ``` \setupinteraction[state=start]

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hi Hans and Taco, @Hans, I compiled by commenting and uncommenting one component at a time; it is component 5 which interferes with the metapost code of component 14 All I have to do now is find out what the cause is. Fabrice Le jeu. 25 avr. 2024 à 16:40, Taco Hoekwater a écrit : > > > > On 25

[NTG-context] Re: start/stopregister

2024-04-25 Thread Taco Hoekwater
> On 25 Apr 2024, at 16:45, Thomas A. Schmitz > wrote: > > On 4/25/24 16:13, Henning Hraban Ramm wrote: >> I’m using it like >> \startregister[index][bibliografie]{Bibliografie} >> … >> \stopregister[index][bibliografie] >> i.e. very similar to your example, and can confirm it doesn’t result

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can confirm it doesn’t result in a page range in the index. Also gives no error. Since I've become an

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Taco Hoekwater
> On 25 Apr 2024, at 16:08, Fabrice Couvreur > wrote: > > Hi Taco, > I knew I wouldn't be able to explain what was happening. > The code works perfectly and the figure is clearly visible in the component > chapter-14 : It is probably not related to the figure itself. Something may be

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Hans Hagen
On 4/25/2024 4:08 PM, Fabrice Couvreur wrote: Hi Taco, I knew I wouldn't be able to explain what was happening. The code works perfectly and the figure is clearly visible in the component chapter-14 : \startcomponent[chapter-14] \startMPpage ... \stopMPpage \stopcomponent But if I compile my

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 15:44 schrieb Thomas A. Schmitz: Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hi Taco, I knew I wouldn't be able to explain what was happening. The code works perfectly and the figure is clearly visible in the component chapter-14 : \startcomponent[chapter-14] \startMPpage ... \stopMPpage \stopcomponent But if I compile my project, it disappears !!

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl. All best Thomas \setuppapersize [A6]

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Taco Hoekwater
H Fabrice, You did not provide a good minimum test because the graph by itself renders fine: fabr.pdf Description: Adobe PDF document Best wishes, Taco (if all else fails, you can replace \startMPcode with \startMPpage and generate a standalone graph that way) > On 25 Apr 2024, at 12:27,

[NTG-context] The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
Hi, I don't know if I can explain the problem I'm having. I made a project with 14 chapters. In each of them, there are graphics embedding metapost code. I proceed as follows : I compile each chapter alone with lmtx then I compile the project containing the 14 chapters. I didn't encounter any

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
You are right. I shall change the parameter `inbetween` in `\setupitemize`. Regards, Hong April 25, 2024 at 4:54 PM, "Henning Hraban Ramm" wrote: > Am 25.04.24 um 10:46 schrieb h...@hongfeng.ch: > >> thank you. >> >> just tried, not worked out yet. >> >> Here it is my text: >> >> ``` >>

[NTG-context] Re: utiliydata

2024-04-25 Thread Hans Hagen
On 4/25/2024 9:25 AM, Thomas A. Schmitz wrote: Nope, very sorry, can’t figure it out… I see job.register, I see I can access structures.refrences.collected, but what about the next level utilitydata.structures.references.collected={ [""]={ [“REF"]={ What does the empty key do? And how do

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 10:46 schrieb h...@hongfeng.ch: thank you. just tried, not worked out yet. Here it is my text: ``` setuplist[height=0] \startitemize[n] \item It's impossible --- don't waste my time. \item It's possible, but not worth doing. \item I said it was a good ideal all along.

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
thank you. just tried, not worked out yet. Here it is my text: ``` setuplist[height=0] \startitemize[n] \item It's impossible --- don't waste my time. \item It's possible, but not worth doing. \item I said it was a good ideal all along. \stopitemize ``` Now the distance between the items is

[NTG-context] Define a new command that inherits from multiple other command options

2024-04-25 Thread ai2472206007
hi! I'm new to ConTeXt. I want to define a command with sidenote function. This [setupsidenote] command inherits the options of [setupmargindata], [setupcounter] and [setupframed]. just like [setupenumeration] inherits the option of [setupcounter]. I've defined the following sidenote command

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 10:20 schrieb h...@hongfeng.ch: which parameter in `\setuplist` is used for adjusting the distance between the items of a list? Usually it’s the general line height. You can use "inbetween=\blank[3pt]" to insert extra space. (Untested) Hraban

[NTG-context] which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
which parameter in `\setuplist` is used for adjusting the distance between the items of a list? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Re: utiliydata

2024-04-25 Thread Thomas A. Schmitz
> > Nope, very sorry, can’t figure it out… I see job.register, I see I can access > structures.refrences.collected, but what about the next level > > utilitydata.structures.references.collected={ > [""]={ > [“REF"]={ > > What does the empty key do? And how do I retrieve the value of > >

[NTG-context] Re: utiliydata

2024-04-25 Thread Thomas A. Schmitz
> On 24. Apr 2024, at 17:59, Hans Hagen wrote: > > grep for "job." (i bet you can figure it out and compensate the embaressment > that way) > > Hans Nope, very sorry, can’t figure it out… I see job.register, I see I can access structures.refrences.collected, but what about the next level

[NTG-context] Re: what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-24 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 20.04.2024 um 23:00: I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphisme_MP}

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
Am 23.04.24 um 23:14 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 23.04.2024 um 21:43: Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please:

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
Am 24.04.24 um 01:00 schrieb Bruce Horrocks: In the source there is a comment relating to location: %D Regular list entries are bound to a specific location in order to get the right %D pagenumber etc.\ associated. When pushing something inbetween (in mkiv) it ends %D up directtly in the

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-24 Thread Pablo Rodriguez via ntg-context
On 4/24/24 02:15, Joel via ntg-context wrote: > [...] Any idea how I can get current footnote value? Hi Joel, current footnote value can be accessed with \rawcountervalue[footnote], such as in: \starttext \dorecurse{25} {\ \footnote{Footnote \recurselevel}:

[NTG-context] Re: utiliydata

2024-04-24 Thread Hans Hagen
On 4/24/2024 5:41 PM, Thomas A. Schmitz wrote: Hi all, I’m slightly embarrassed because this should be easy, but I can’t figure out how to do this: in the tuc/tua file, I have the complete references of my document. How can I access it from within my Lua code? For instance, something like

[NTG-context] utiliydata

2024-04-24 Thread Thomas A. Schmitz
Hi all, I’m slightly embarrassed because this should be easy, but I can’t figure out how to do this: in the tuc/tua file, I have the complete references of my document. How can I access it from within my Lua code? For instance, something like

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Bruce Horrocks
> On 23 Apr 2024, at 20:43, Henning Hraban Ramm wrote: > > Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: >> I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I >> don’t understand all parameters. >> Can anyone explain these please: >> * state (start stop): what

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-23 Thread Joel via ntg-context
Okay, I've been trying many things with this \startpostponing code--if I understand what's happening, its moving the figures to a later page. I'm not sure that's quite ideal, its not fully working with my actual documents, and leaves lots of empty white space, when I'm already in a situation

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 23.04.2024 um 21:43: Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Henning Hraban Ramm
Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name):

[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
Here is a solution for the first part of my question. This is based on https://www.mail-archive.com/ntg-context@ntg.nl/msg101156.html and try and error based on publ-imp-aps.mkvi and publ-imp-apa.mkvi: It display now the citation _and_ numbering labels in the short form: ```

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
Changing location=none to location=text still left me with the bullet points appearing in a big list at the end of my chapter, but without any messages in them. On Monday, April 22, 2024 at 07:54:39 AM MDT, Joel via ntg-context wrote: A few years back, I tried using endnotes with

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Jean-Pierre Delange
See here : https://wiki.contextgarden.net/Footnotes Jean-Pierre > Le 22 avr. 2024 à 16:47, Pablo Rodriguez via ntg-context > a écrit : > > On 4/22/24 15:51, Joel via ntg-context wrote: >> A few years back, I tried using endnotes with ConTeXt-SBL, and it failed >> to compile. I'm forced to

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
Am 22.04.24 um 18:30 schrieb Duncan Hothersall: Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Duncan Hothersall
Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like this: 1 ... A section A subject rather than 1 ... A

[NTG-context] documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name): language dependent labels? as a prefix or what? *

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Pablo Rodriguez via ntg-context
On 4/22/24 15:51, Joel via ntg-context wrote: > A few years back, I tried using endnotes with ConTeXt-SBL, and it failed > to compile. I'm forced to try again (due to some other issue with > footnotes), and instead of compiling to error, it compiles, but the > footnote's message ends up being

[NTG-context] Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
A few years back, I tried using endnotes with ConTeXt-SBL, and it failed to compile. I'm forced to try again (due to some other issue with footnotes), and instead of compiling to error, it compiles, but the footnote's message ends up being empty.  Why is it appearing empty? Is there a fix?

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread vm via ntg-context
On 22/04/2024 14:38, Joel via ntg-context wrote: Is this the correct way to be using the \startpostponing code (see example below)? \starttext     \input knuth \startpostponing     \placefigure{Caption\footnote{message A}}{\externalfigure[cow][width=\textwidth]} \stoppostponing

[NTG-context] Re: minwidth not working ?

2024-04-22 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Wolfgang Schuster > Gesendet: Samstag, 20. April 2024 11:56 > An: Denis Maier > Cc: mailing list for ConTeXt users ; denis.ma...@unibe.ch > Betreff: Re: [NTG-context] Re: minwidth not working ? > > Denis Maier schrieb am 19.04.2024 um 22:55: > > >>

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
I've managed to get a minimum working example. If you check, you'll see the 5th footnote inside a placefigure doesn't render anywhere: \starttext     \input knuth     \placefigure{Caption\footnote{message A}}{\externalfigure[cow][width=\textwidth]}     \input knuth     

[NTG-context] floats re-ordering and numbering

2024-04-22 Thread denis.maier
Hi, I've found that occasionally the order of floats change, but the numbering still reflects the order in the input file. Is that the intended behaviour? Is there a way to number to floats according to their order in the (visual) output? Best, Denis

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Hans Hagen via ntg-context
On 4/22/2024 2:45 AM, Joel via ntg-context wrote: I'm three days out from sending my work to an editor, and found some serious problem: many footnotes just aren't rendering. I have a history text that uses ConTeXt-SBL for the citations, as such, it has lots of footnotes. Sometimes the

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-21 Thread Pablo Rodriguez via ntg-context
On 4/22/24 02:45, Joel via ntg-context wrote: > I'm three days out from sending my work to an editor, and found some > serious problem: many footnotes just aren't rendering. Joel, please provide a minimal sample, otherwise it is really hard to help. > I've seen some 2+ year old mailing list

[NTG-context] Why don't footnotes appear in floats or figures?

2024-04-21 Thread Joel via ntg-context
I'm three days out from sending my work to an editor, and found some serious problem: many footnotes just aren't rendering. I have a history text that uses ConTeXt-SBL for the citations, as such, it has lots of footnotes. Sometimes the footnotes are just in the main text, but sometimes also in

[NTG-context] Re: kpfonts

2024-04-21 Thread Xavier B.
Thanks a lot In the wiki there is no mention to that, isn't there? Xavier On Sat, 20 Apr 2024 14:08:21 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 20.04.2024 um 13:51: > > Hi, > > > > Just a courious: is there kpfonts available for context? > > I love kpfonts. > >

[NTG-context] Re: [off topic] non-English programming languages: Arab and Cuneiform

2024-04-20 Thread Andres Conrado Montoya
Oh, I do, fascinating stuff! Regarding languages, I also came by a very interesting writing system, called Ditema tsa Dinoko, designed to write different african languages: https://en.wikipedia.org/wiki/Ditema_tsa_Dinoko Not really a programming language, but I could see one developing from this,

[NTG-context] [off topic] non-English programming languages: Arab and Cuneiform

2024-04-20 Thread Henning Hraban Ramm
Came across this, I guess some of you might find it interesting: https://nas.sr/%D9%82%D9%84%D8%A8/ https://github.com/MrLogarithm/emeszida ___ If your question is of interest to others as well, please add an

[NTG-context] what are the interaction between \showframe and \realpageno in \startuseMPgraphic ?

2024-04-20 Thread garulfo
I can not figure out why this progress bar only works when \showframe is activated. When you comment on \showframe, it's as if \realpageno is at zero. (current version: 2024.04.01 08:59) \showframe \startuseMPgraphic{MonGraphisme_MP} numeric n ; n := \number\realpageno ; numeric m ; m :=

[NTG-context] Re: kpfonts

2024-04-20 Thread Wolfgang Schuster
Mikael Sundqvist schrieb am 20.04.2024 um 14:04: Hi, On Sat, Apr 20, 2024 at 2:03 PM Xavier B. wrote: Hi, Just a courious: is there kpfonts available for context? I love kpfonts. Thanks in advance, Xavier Yes, just download the fonts and do \setupbodyfont[kpfonts] The fonts are included

[NTG-context] Re: kpfonts

2024-04-20 Thread Wolfgang Schuster
Xavier B. schrieb am 20.04.2024 um 13:51: Hi, Just a courious: is there kpfonts available for context? I love kpfonts. \setupbodyfont[kpfonts] \starttext \samplefile{lorem} \stoptext Wolfgang ___ If your

[NTG-context] Re: kpfonts

2024-04-20 Thread Mikael Sundqvist
Hi, On Sat, Apr 20, 2024 at 2:03 PM Xavier B. wrote: > > Hi, > > Just a courious: is there kpfonts available for context? > I love kpfonts. > > Thanks in advance, > Xavier Yes, just download the fonts and do \setupbodyfont[kpfonts] /Mikael

[NTG-context] kpfonts

2024-04-20 Thread Xavier B.
Hi, Just a courious: is there kpfonts available for context? I love kpfonts. Thanks in advance, Xavier ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Re: minwidth not working ?

2024-04-20 Thread Wolfgang Schuster
Denis Maier schrieb am 19.04.2024 um 22:55: Wolfgang Schuster hat am 19.04.2024 20:32 CEST geschrieben: denis.ma...@unibe.ch schrieb am 10.04.2024 um 12:47: Hi, Shouldn’t minwidth set a default minimal width for external figures? But this here does not work [...] Am I missing something

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-20 Thread Bruce Horrocks
> On 18 Apr 2024, at 01:09, Joel via ntg-context wrote: ... > Or maybe to use > to send the errors to another file for careful study? > (using Linux if that matters) You can run the job from the command line and redirect to a file: $ context file.tex > output.log 2>&1 but that is

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
  Wolfgang Schuster hat am 19.04.2024 20:32 CEST geschrieben:     denis.ma...@unibe.ch schrieb am 10.04.2024 um 12:47: Hi, Shouldn’t minwidth set a default minimal width for external figures? But this here does

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 10.04.2024 um 12:47: Hi, Shouldn’t minwidth set a default minimal width for external figures? But this here does not work == \setupexternalfigures   [   maxwidth=\textwidth,   minwidth=\textwidth,  

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Wolfgang Schuster
Denis Maier via ntg-context schrieb am 19.04.2024 um 17:48: Hi again, just a quick follow up on this one. Can anyone reproduce this? Would be good to know how this can be fixed. I have this in a real document, and as I’m typesetting a XML source I cannot just adjust slightly adjust the

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Pablo Rodriguez via ntg-context
On 4/19/24 17:48, Denis Maier via ntg-context wrote: > Hi again, > > just a quick follow up on this one. Can anyone reproduce this? Hi Denis, I can reproduce it. > Would be good to know how this can be fixed. I have this in a real > document, and as I’m typesetting a XML source I cannot just

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Pablo Rodriguez via ntg-context
On 4/19/24 17:51, Denis Maier via ntg-context wrote: > Hi again, > > another follow up. Can anyone confirm this issue? Is there a way to set > the minimal width of graphics? Hi Denis, maximum widht or height work fine, but their minimum counterparts seem not to be working at all: \showframe

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
Hi again, another follow up. Can anyone confirm this issue? Is there a way to set the minimal width of graphics? Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Mittwoch, 10. April 2024 12:47 An: ntg-context@ntg.nl Betreff: minwidth not working ? Hi, Shouldn't minwidth

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Denis Maier via ntg-context
Hi again, just a quick follow up on this one. Can anyone reproduce this? Would be good to know how this can be fixed. I have this in a real document, and as I'm typesetting a XML source I cannot just adjust slightly adjust the dimensions to get rid of that. Best, Denis Von:

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-19 Thread Hans Hagen
On 4/18/2024 8:26 AM, Henning Hraban Ramm wrote: Am 18.04.24 um 02:09 schrieb Joel via ntg-context: I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-18 Thread Bruce Horrocks
> On 17 Apr 2024, at 13:17, Henning Hraban Ramm wrote: > > Am 17.04.24 um 13:57 schrieb Bruce Horrocks: >> - There are at least two books, and a third being written but not yet >> released: these fit into the Tutorials and Explanation quadrants. > > Which published books do you mean? Not

[NTG-context] Re: preventing column break after section title

2024-04-18 Thread Peter Münster
On Thu, Apr 18 2024, Peter Münster wrote: > How could I prevent a column break after the second section title please? Ok, found it: \setupitemize[each][autointro] -- Peter ___ If your question is of

[NTG-context] preventing column break after section title

2024-04-18 Thread Peter Münster
Hi, How could I prevent a column break after the second section title please? Minimal example: \starttext \startcolumns[n=2] \section{title 1} \dorecurse{22}{bla\par} \section{title 2} % Here starts a new column. \startitemize \dorecurse{15}{\item bla} \stopitemize \stopcolumns

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-18 Thread Henning Hraban Ramm
Am 17.04.24 um 23:25 schrieb Garulfo: - exactly, it's not a question of proposing new documents, but of proposing another complementary way of accessing and browsing existing ones. - Actually, the wiki is (or can be) a hub for the 4 needs:   - "Reference" like

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-18 Thread Henning Hraban Ramm
Am 18.04.24 um 02:09 schrieb Joel via ntg-context: I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will still compile, even if something isn't displayed on

[NTG-context] How to isolate serious errors from warnings?

2024-04-17 Thread Joel via ntg-context
I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will still compile, even if something isn't displayed on screen as it should: (1) I tried placing a table

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Garulfo
Le 17/04/2024 à 13:57, Bruce Horrocks a écrit : On 14 Apr 2024, at 12:21, garu...@azules.eu wrote: Hi all, I just discover the Diátaxis documentation framework : I'd be more confident if you had started by saying "I've been using the Diátaxis for the last ten years and have used it on

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Gerion Entrup
Hi, > The APS style is an example of a number-based citation system. As you > are looking for a tag-based citation, it might be better to start with > something like the APA style. I'm kind of satisfied with the publication-list layout of the APS style so I chose this as a base. If it is

  1   2   3   4   5   6   7   8   9   10   >